﻿@model ProjetDotNet2012.Models.EmailModel

<section id="changeEmailForm">

<h3>Modifier l'adresse email</h3>

@using (Html.BeginForm("ChangeEmail", "Account")) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary()

    <fieldset>
        <legend>Formulaire de modification de l'adresse email</legend>
        <ol>
            <li>
                @Html.LabelFor(m => m.OldEmail)
                @Html.TextBoxFor(m => m.OldEmail)
            </li>
            <li>
                @Html.LabelFor(m => m.NewEmail)
                @Html.TextBoxFor(m => m.NewEmail)
            </li>
        </ol>
        <input type="submit" value="Modifier l'email" />
    </fieldset>
}

</section>
